package com.tian.hello.ui.topline.model;

import com.tian.hello.R;
import com.tian.hello.ui.topline.base.IViewModel;
import com.tian.hello.ui.topline.base.ViewHolder;

/**
 * Description:带有视频的viewmodel
 * Author：skyTian
 * Time:2018/2/1
 * CopyRight:com,sky
 */
public class VedioModel implements IViewModel {

    @Override
    public void onBindView(ViewHolder holder, Object data) {
        holder.setText(R.id.title_tv, "我是播放视频的布局");
    }

    @Override
    public int getViewType() {
        return IViewModel.MODEL_VEDIO;
    }

    @Override
    public int getItemLayout() {
        return R.layout.item_type_img_one;
    }
}
